package com.dick.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 菜单项
 */
@Data
@TableName("base_menu_item")
public class BaseMenuItem {
    @TableId(type = IdType.INPUT)
    private Long id;
    private String name;
    private String menuCode;
    private String authorityCode;
    private Integer sortCode;
    private Long parentId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    @TableLogic
    private Boolean deleted;
}
